package com.shisfish.library.Model;

import java.util.ArrayList;
import java.util.List;

import com.shisfish.core.Model.Model;

public class BookMessage extends Model {
	
	private int id;
	private String isbn;
	private int total;
	private int surplus;
	private int surplus_show;
	private int isBespeak;
	private int number;
	
	private List<BookSingle> bookSingles = new ArrayList<BookSingle>();
	
	public BookMessage() {
		super();
	}
	public BookMessage(String isbn, int total, int surplus, int surplus_show,
			int isBespeak, int number) {
		super();
		this.isbn = isbn;
		this.total = total;
		this.surplus = surplus;
		this.surplus_show = surplus_show;
		this.isBespeak = isBespeak;
		this.number = number;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getIsbn() {
		return isbn;
	}
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getSurplus() {
		return surplus;
	}
	public void setSurplus(int surplus) {
		this.surplus = surplus;
	}
	public int getSurplus_show() {
		return surplus_show;
	}
	public void setSurplus_show(int surplus_show) {
		this.surplus_show = surplus_show;
	}
	public int getIsBespeak() {
		return isBespeak;
	}
	public void setIsBespeak(int isBespeak) {
		this.isBespeak = isBespeak;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public List<BookSingle> getBookSingles() {
		return bookSingles;
	}
	public void setBookSingles(List<BookSingle> bookSingles) {
		this.bookSingles = bookSingles;
	}
	
}
